import { Moment } from 'moment'
import {AllPrice} from './price'

export interface Order {
  gCId: number | string
  gCNum: number
  gProvideDate: string
}

export interface ListingConfirmInfo {
  userId: number | string
  date: string
  order: Order[]
}

export interface UserListingQuery{
  year: string,
  month: string,
  userId: string | number
}

export interface UserListingInfo extends AllPrice {
  uName: string
  uId: string|number
  oName: string
  lDate: string
  lId:string | number
}

export interface ManagerListingInfo extends Omit<UserListingInfo,'uId'>{
  officeId: string | number
}
export interface ManagerListingQuery{
  officeId: string | number
  year: string
  month: string
}